import request from '@/utils/request'

// 商品销售排名
export function statGoodsSell(query) {
  return request({
    url: '/goods/projectOrder/statGoodsSell',
    method: 'get',
    params: query
  })
}

// 微客分销排名
export function statMemberSell(query) {
  return request({
    url: '/goods/projectOrder/statMemberSell',
    method: 'get',
    params: query
  })
}

// 招募员销售排名
export function statRecruiterSell(query) {
  return request({
    url: '/goods/projectOrder/statRecruiterSell',
    method: 'get',
    params: query
  })
}

// 订单统计
export function statOrderSell(query) {
  return request({
    url: '/goods/projectOrder/statOrderSell',
    method: 'get',
    params: query
  })
}

// 订单概况统计
export function statOrderTotal(query) {
  return request({
    url: '/goods/projectOrder/statOrderTotal',
    method: 'get',
    params: query
  })
}

// 商品数量和订单数量汇总
export function statGoodsTotal(query) {
  return request({
    url: '/goods/projectOrder/statGoodsTotal',
    method: 'get',
    params: query
  })
}

// 招募员销售详情
export function pagingRecruiterSell(query) {
  return request({
    url: '/goods/projectOrder/pagingRecruiterSell',
    method: 'get',
    params: query
  })
}
